import Vue from 'vue'
import Router from 'vue-router'
import Indexpage from '../views/index.vue'


//admin页面
import Admin_index from '../views/admin/admin_index.vue'
import Admin_brand from '../views/admin/brand_introduce.vue'
import Brand_big_img from '../views/admin/brand_big_img.vue'
import Brand_img_cw from '../views/admin/brand_img_cw.vue'
import Shop_information from '../views/admin/shop_information.vue'
import Test from '../views/admin/test.vue'
import Admin_login from '../views/admin/admin_login.vue'
import Shop_online from '../views/admin/shop_online.vue'
import Admin_media from '../views/admin/admin_media.vue'
import Index_video from '../views/admin/index_video.vue'
import Admin_vip from '../views/admin/vip_center.vue'
import Contact_us from '../views/admin/contact_us.vue'
import contact_way from '../views/admin/contact_way.vue'
import Product_menu from '../views/admin/product_menu.vue'
import Product_add from '../views/admin/product_add.vue'
import Product_sku from '../views/admin/product_sku.vue'
import Admin_look from '../views/admin/admin_lookbook.vue'


Vue.use(Router)

export default new Router({
  routes: [{
      path: '/',
      name: 'Index',
      component: Indexpage
    },
    {
      path: '/admin/index/video',
      name: 'Index_video',
      component: Index_video
    },
    {
      path: '/test',
      name: 'Test',
      component: Test
    },
    {
      path: '/admin/',
      name: 'admin_index',
      component: Admin_index
    },
    {
      path: '/admin/brand',
      name: 'Admin_brand',
      component: Admin_brand
    },
    {
      path: '/admin/shop_information',
      name: 'Shop_information',
      component: Shop_information
    },
    {
      path: '/login',
      name: 'Admin_login',
      component: Admin_login
    },
    {
      path: '/admin/shop_online',
      name: 'Shop_online',
      component: Shop_online
    },
    {
      path: '/admin/media',
      name: 'shop_media',
      component: Admin_media
    },
    {
      path: '/admin/member',
      name: 'Admin_vip',
      component: Admin_vip
    },
    {
      path: '/admin/brand_big_img',
      name: 'Bradn_big_img',
      component: Brand_big_img
    },
    {
      path: '/admin/brand_img_cw',
      name: 'Brand_img_cw',
      component: Brand_img_cw
    },
    {
      path: '/admin/product_menu',
      name: 'product_menu',
      component: Product_menu
    },
    {
      path: '/admin/product_add',
      name: 'Product_add',
      component: Product_add
    },
    {
      path: '/admin/product_sku',
      name: 'Product_sku',
      component: Product_sku
    },
    {
      path: '/admin/lookbook',
      name: 'Admin_look',
      component: Admin_look
    },
    {
      path: '/admin/contact_bg',
      name: 'Contact_us',
      component: Contact_us
    },
    {
      path: '/admin/contact_way',
      name: 'contact_way',
      component: contact_way
    }
  ]
})
